<?php
/**
 * oscshop2 B2C电子商务系统
 *
 * ==========================================================================
 * @link      http://www.oscshop.cn/
 * @copyright Copyright (c) 2015-2017 oscshop.cn. 
 * @license   http://www.oscshop.cn/license.html License
 * ==========================================================================
 *
 * @author    
 *
 * 
 */
namespace osc\mobile\controller;
use osc\common\controller\Base;
use \think\Db;
use think\Session;
use think\Request;
class Transaction extends Base
{
	protected function _initialize(){
		parent::_initialize();						
		define('UID',is_login());	
		//手机版
		if(!UID){		
			$this->redirect('login/login');							
		}
		if (!Session::has("username")) {

            $this->redirect('login/login');

        }

		$this->assign('flag','user');
	}

	function index(){

		$this->assign('top_title','通证交易');
		$this->assign('SEO',['title'=>'通证交易-'.config('SITE_TITLE')]);
		$this->assign('empty','<tr><td colspan="20">暂无记录~</td></tr>');		
		return $this->fetch();
	}

	function fukuan(){

		$this->assign('top_title','付 款');
		$this->assign('SEO',['title'=>'通证交易-'.config('SITE_TITLE')]);
		$this->assign('empty','<tr><td colspan="20">暂无记录~</td></tr>');
		return $this->fetch();
	}

	



	


}